<?php
//Database Information
$db_host = "Drawyourheart.db.8685979.hostedresource.com"; //localhost Host address usercakedbtry.db.10960547.hostedresource.com(most likely )
$db_name = "Drawyourheart"; //drawyourheart - Name of Database usercakedbtry
$db_user = "Drawyourheart"; //root - Name of database user usercakedbtry
$db_pass = "Draw2014!"; //Password for database user Usercake@786

//GLOBAL $errors;
//GLOBAL $successes;

//$errors = array();
//$successes = array();

/* Create a new mysqli object with database connection parameters */
$mysqli = new mysqli($db_host, $db_user, $db_pass, $db_name);
GLOBAL $mysqli;

if ($mysqli->connect_errno) {
    echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error;
    exit();
}

//echo "DB connection done";
?>